package com.framework.modules.sys.controller;

import com.framework.exception.util.RespResult;
import com.framework.page.PageUtils;
import com.framework.service.FlowNoticeTerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 *
 * 划拨流水控制器
 * @author wq
 */
@RequestMapping("sys/flowNoticeTer")
@RestController
public class FlowNoticeTerController extends AbstractController{


    @Autowired
    private FlowNoticeTerService flowNoticeTerService;


    /**
     * 分页列表
     * @param params
     * @return
     */
    @RequestMapping("list")
    public RespResult getPage(@RequestParam Map<String,Object> params){
        params.put("deptId",getDeptId());
        PageUtils page=flowNoticeTerService.queryPage(params);
        return RespResult.ok().put("page",page);

    }


}
